﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using NLBS.Data;
using NLBS.Entity;
using NLBS.Framework;
using NLBS.Web;
namespace NLBS.Admin
{
    public partial class _default : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            
            FormsAuthentication.SetAuthCookie("clingingboy", true);
            string path = RequestWrapper.ApplicationPath;
            if (!path.StartsWith("/"))
            {
                path = "/";
            }
            path = "/";
            if (Request.Cookies[StateKey.SkinCookieKey] != null)
            {
                skin.Href = RequestWrapper.ApplicationPath + Request.Cookies[StateKey.SkinCookieKey].Value;
            }
            else
            {
                skin.Href = RequestWrapper.ApplicationPath + BlogInfo.Instance().SkinPath;
            }
            
            //+"/""/"
        }


    }
}
